﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Reflection;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace DeepTalkRenderService
{
    partial class DTRenderWF
    {
        #region Designer generated code

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding1 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind7 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding2 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind8 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding3 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.Activities.TypedOperationInfo typedoperationinfo1 = new System.Workflow.Activities.TypedOperationInfo();
            System.Workflow.Activities.WorkflowServiceAttributes workflowserviceattributes1 = new System.Workflow.Activities.WorkflowServiceAttributes();
            this.runFullRenderWF = new CommonWFLibrary.RunLongWorkflow();
            this.MoveToClean = new System.Workflow.Activities.SetStateActivity();
            this.OneRenderAtATime = new CommonWFLibrary.SequenceLimiter();
            this.PrepareWFArguments = new System.Workflow.Activities.CodeActivity();
            this.CreateTempDirectory = new DeepTalkRenderService.Activities.DirectoryByIDAndSettings();
            this.setStateActivity1 = new System.Workflow.Activities.SetStateActivity();
            this.receiveActivity1 = new System.Workflow.Activities.ReceiveActivity();
            this.runRender = new System.Workflow.Activities.StateInitializationActivity();
            this.WCFKickoff = new System.Workflow.Activities.EventDrivenActivity();
            this.CleanupAndFinish = new System.Workflow.Activities.StateActivity();
            this.Rendering = new System.Workflow.Activities.StateActivity();
            this.Workflow1InitialState = new System.Workflow.Activities.StateActivity();
            // 
            // runFullRenderWF
            // 
            this.runFullRenderWF.Description = "Runs the full blown rendering workflow";
            this.runFullRenderWF.Name = "runFullRenderWF";
            this.runFullRenderWF.TimesToRetry = 10;
            activitybind1.Name = "DTRenderWF";
            activitybind1.Path = "renderWFArguments";
            activitybind2.Name = "DTRenderWF";
            activitybind2.Path = "RenderWFResults";
            activitybind3.Name = "DTRenderWF";
            activitybind3.Path = "RenderWFType";
            this.runFullRenderWF.SetBinding(CommonWFLibrary.RunLongWorkflow.WFTypeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            this.runFullRenderWF.SetBinding(CommonWFLibrary.RunLongWorkflow.WFArgumentsProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            this.runFullRenderWF.SetBinding(CommonWFLibrary.RunLongWorkflow.WFResultsProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // MoveToClean
            // 
            this.MoveToClean.Name = "MoveToClean";
            this.MoveToClean.TargetStateName = "CleanupAndFinish";
            // 
            // OneRenderAtATime
            // 
            this.OneRenderAtATime.Activities.Add(this.runFullRenderWF);
            this.OneRenderAtATime.Description = "Allows only a single Render to proceed on this machine at a time";
            this.OneRenderAtATime.Name = "OneRenderAtATime";
            // 
            // PrepareWFArguments
            // 
            this.PrepareWFArguments.Description = "Preparse the arguments for the long-running workflow";
            this.PrepareWFArguments.Name = "PrepareWFArguments";
            this.PrepareWFArguments.ExecuteCode += new System.EventHandler(this.CodePrepareWFArguments);
            // 
            // CreateTempDirectory
            // 
            this.CreateTempDirectory.AppConfigSettingsName = "TempDirectory";
            this.CreateTempDirectory.FormatString = "{0}\\{1}";
            activitybind4.Name = "DTRenderWF";
            activitybind4.Path = "MeetingID";
            this.CreateTempDirectory.Name = "CreateTempDirectory";
            activitybind5.Name = "DTRenderWF";
            activitybind5.Path = "TempFilesDirectory";
            this.CreateTempDirectory.SetBinding(DeepTalkRenderService.Activities.DirectoryByIDAndSettings.ItemToGetAsStringProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            this.CreateTempDirectory.SetBinding(DeepTalkRenderService.Activities.DirectoryByIDAndSettings.ResultDirectoryProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            // 
            // setStateActivity1
            // 
            this.setStateActivity1.Name = "setStateActivity1";
            this.setStateActivity1.TargetStateName = "Rendering";
            // 
            // receiveActivity1
            // 
            this.receiveActivity1.CanCreateInstance = true;
            this.receiveActivity1.Name = "receiveActivity1";
            activitybind6.Name = "DTRenderWF";
            activitybind6.Path = "agendaXML";
            workflowparameterbinding1.ParameterName = "agendaXML";
            workflowparameterbinding1.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            activitybind7.Name = "DTRenderWF";
            activitybind7.Path = "MeetingID";
            workflowparameterbinding2.ParameterName = "id";
            workflowparameterbinding2.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind7)));
            activitybind8.Name = "DTRenderWF";
            activitybind8.Path = "MeetingOutputDirectory";
            workflowparameterbinding3.ParameterName = "outputDirectory";
            workflowparameterbinding3.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind8)));
            this.receiveActivity1.ParameterBindings.Add(workflowparameterbinding1);
            this.receiveActivity1.ParameterBindings.Add(workflowparameterbinding2);
            this.receiveActivity1.ParameterBindings.Add(workflowparameterbinding3);
            typedoperationinfo1.ContractType = typeof(DeepTalkRenderService.IDTRender);
            typedoperationinfo1.Name = "QueueRender";
            this.receiveActivity1.ServiceOperationInfo = typedoperationinfo1;
            // 
            // runRender
            // 
            this.runRender.Activities.Add(this.CreateTempDirectory);
            this.runRender.Activities.Add(this.PrepareWFArguments);
            this.runRender.Activities.Add(this.OneRenderAtATime);
            this.runRender.Activities.Add(this.MoveToClean);
            this.runRender.Name = "runRender";
            // 
            // WCFKickoff
            // 
            this.WCFKickoff.Activities.Add(this.receiveActivity1);
            this.WCFKickoff.Activities.Add(this.setStateActivity1);
            this.WCFKickoff.Name = "WCFKickoff";
            // 
            // CleanupAndFinish
            // 
            this.CleanupAndFinish.Name = "CleanupAndFinish";
            // 
            // Rendering
            // 
            this.Rendering.Activities.Add(this.runRender);
            this.Rendering.Name = "Rendering";
            // 
            // Workflow1InitialState
            // 
            this.Workflow1InitialState.Activities.Add(this.WCFKickoff);
            this.Workflow1InitialState.Name = "Workflow1InitialState";
            workflowserviceattributes1.ConfigurationName = "Workflow1";
            workflowserviceattributes1.Name = "Workflow1";
            // 
            // DTRenderWF
            // 
            this.Activities.Add(this.Workflow1InitialState);
            this.Activities.Add(this.Rendering);
            this.Activities.Add(this.CleanupAndFinish);
            this.CompletedStateName = "CleanupAndFinish";
            this.DynamicUpdateCondition = null;
            this.InitialStateName = "Workflow1InitialState";
            this.Name = "DTRenderWF";
            this.SetValue(System.Workflow.Activities.ReceiveActivity.WorkflowServiceAttributesProperty, workflowserviceattributes1);
            this.CanModifyActivities = false;

        }

        #endregion

        private DeepTalkRenderService.Activities.DirectoryByIDAndSettings CreateTempDirectory;
        private CodeActivity PrepareWFArguments;
        private CommonWFLibrary.RunLongWorkflow runFullRenderWF;
        private CommonWFLibrary.SequenceLimiter OneRenderAtATime;
        private ReceiveActivity receiveActivity1;
        private EventDrivenActivity WCFKickoff;
        private StateActivity Rendering;
        private StateActivity CleanupAndFinish;
        private SetStateActivity setStateActivity1;
        private StateInitializationActivity runRender;
        private SetStateActivity MoveToClean;
        private StateActivity Workflow1InitialState;
















































































    }
}
